package com.zhuanzhuan.hero.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuanzhuan.hero.user.entity.HeroUserVisitRecord;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * dal Interface:HeroUserVisitRecord
 * @author hanjunjun
 * @date 2024-7-2
 */
public interface HeroUserVisitRecordMapper extends BaseMapper<HeroUserVisitRecord> {

    List<HeroUserVisitRecord> select(HeroUserVisitRecord record);

    Integer getCount(HeroUserVisitRecord record);

    List<HeroUserVisitRecord> queryDistinctRecord(@Param("toUid") Long toUid, @Param("effectiveCode")Integer effectiveCode,
        @Param("createTimeStart")Date createTimeStart, @Param("limitNum") int limit);

}